export * from './error'
export * from './modal'
export * from './route'
export * from './auth'

/**
 * 等待多少秒
 * @param n s
 */
export const sleep = (n: number) =>
  new Promise(resolve => setTimeout(() => resolve(true), 1e3 * n))
